<%--
  Created by IntelliJ IDEA.
  User: hellcat
  Date: 2020/3/20
  Time: 18:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@include file="extra/body.jsp" %>
<%--start--%>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">商品详情</div>
                <div class="layui-card-body">
                    <form class="layui-form" autocomplete="off">
                        <div class="layui-form-item">
                            <%--        第一排--%>
                            <div class="layui-inline">
                                <label class="layui-form-label">商品编码：</label>
                                <div class="layui-input-inline">
                                    <input id="saleReportDetailsWaresId" value="${wares.id}"
                                           class="layui-input" type="text" readonly>
                                </div>
                                <label class="layui-form-label">商品名称：</label>
                                <div class="layui-input-inline">
                                    <input value="${wares.name}" class="layui-input" type="text" readonly>
                                </div>
                                <label class="layui-form-label">所属分类：</label>
                                <div class="layui-input-inline">
                                    <input value="${wares.category}" class="layui-input" type="text" readonly>
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">退货数量：</label>
                                <div class="layui-input-inline">
                                    <input value="${order.orderNumber}" class="layui-input" type="text" readonly>
                                </div>
                                <label class="layui-form-label">退货金额：</label>
                                <div class="layui-input-inline">
                                    <input value="${order.unitPrice}" class="layui-input" type="text" readonly>
                                </div>

                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">查询时间：</label>
                            <div class="layui-input-inline">
                                <input id="saleReportDetailsDate" value="${searchDate}"
                                       style="width: 300px" class="layui-input" type="text" readonly>
                            </div>
                        </div>
                        <table class="layui-table" id="saleReportDetailsTable"
                               lay-filter="saleReportDetailsTable"></table>
                        <div style="text-align: center">
                            <button type="button" class="layui-btn layui-btn-normal
                         layui-btn-sm saleReportTableBack">返回上页
                            </button>
                            <button type="button" class="layui-btn layui-btn-normal
                         layui-btn-sm" style="visibility:hidden;">占位占位占位占位
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<%--end--%>
</div>
</div>
<script src="../static/js/saleReport.js"></script>
<%@include file="extra/footer.jsp" %>